package com.abcdefg.handlerdemo.demo2;

public class Slf4jDemo {
    public static void main(String[] args) {
        Slf4jApi slf4jApi=new Slf4jLog4jAdapter(new Log4j());
        Slf4jApi slf4jApi1=new Slf4jLog4jBackAdapter(new Log4jBack());
        slf4jApi.log("使用slf4jLog4jAdapter打印日志");
        slf4jApi1.log("使用slf4jLog4jBackAdapter打印日志");
    }
}
